/* @(#)GSOrderSaveForm.java    
 *
 * Project: BUS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   Simonyi Peng            新增
 *   Jenny   Li   2006-4-5   添加字段isTradeFlatProvider
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.vo;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.bean.GSProviderBean;
import com.hitrust.gs.service.GSBaseBean;

/**
 * @author simonyi
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class GSProviderWithPriceVO implements GSBaseBean {
    
    public GSProviderBean bean;
    public String manufactureId;
    public String unitPrice;
    public String isTradeFlatManuf;
    public String isTradeFlatProvider;
    public String mode;
    public Object process(ResultSet aResultSet) throws SQLException {
        GSProviderWithPriceVO vo = new GSProviderWithPriceVO ();
        GSProviderBean tGSProviderBean = new GSProviderBean();
        vo.bean = (GSProviderBean )tGSProviderBean.process(aResultSet);
        vo.manufactureId = aResultSet.getString("APEP_CODE");
        vo.unitPrice = aResultSet.getString("UNIT_PRICE");
        vo.isTradeFlatManuf = aResultSet.getString("IS_TRADEFLAT_PRODUCT");
        vo.isTradeFlatProvider = aResultSet.getString("IS_TRADEFLAT_PROVIDER");
        vo.mode=aResultSet.getString("BALANCE_MODE");
        return vo;
    }

}
